package com.shaobufan.museum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shaobufan.museum.pojo.entity.Notice;
import com.shaobufan.museum.pojo.request.notice.interior.NoticeAddRequest;

import java.util.List;

/**
* @author 17126
* @description 针对表【notice(通知表)】的数据库操作Service
* @createDate 2024-04-22 12:12:04
*/
public interface NoticeService extends IService<Notice> {

    /**
     * 添加通知
     *
     * @param noticeAddRequest 通知请求
     * @return Boolean
     */
    Boolean addNotice(NoticeAddRequest noticeAddRequest);

    List<Notice> searchNoticeByDepartId(Integer departId);
}